A Case Study of a Slicing-Based Approach for Locating Type Errors

نویسندگان

  • T. B. Dinesh
  • Frank Tip
چکیده

Type checkers have been specified in ASF+SDF for many languages, using a variety of specification styles. Several mechanisms for tracking positional information have been proposed, each with shortcomings and/or restrictions on specifications. We propose the use of dynamic dependence tracking for tracking positional information. In this approach, a slice of the program being type checked is associated with each type error. This slice contains precisely those program fragments that caused the type error under consideration. Our approach is completely languageindependent, imposes no restrictions on ASF+SDF specifications, and has been applied successfully to a significant subset of Pascal. We report on several experiments that have shown an interesting correlation between the amount of nondeterminism in the specification, and the accuracy of the slices associated with type errors. Generally, more accurate error locations are obtained as the specification gets less deterministic.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fault Locating in High Voltage Transmission Lines Based on Harmonic Components of One-end Voltage Using Random Forests

In this paper, an approach is proposed for accurate locating of single phase faults in transmission lines using voltage signals measured at one-end. In this method, harmonic components of the voltage signals are extracted through Discrete Fourier Transform (DFT) and are normalized by a transformation. The proposed fault locator, which is designed based on Random Forests (RF) algorithm, is train...

متن کامل

Locating dependence structures using search-based slicing

This paper introduces an approach to locating dependence structures in a program by searching the space of the powerset of the set of all possible program slices. The paper formulates this problem as a search based software engineering problem. To evaluate the approach, the paper introduces an instance of a search based slicing problem concerned with locating sets of slices that decompose a pro...

متن کامل

Development of a Model for Locating Hubs in a Competitive Environment under Uncertainty: A Robust Optimization Approach

This article explores the development of previous models to determine hubs in a competitive environment. In this paper, by comparing parameters of the ticket price, travel time and the service quality of hub airports, airline hubs are divided into six categories. The degree of importance of travel time and travel cost are determined by a multivariate Lagrange interpolation method, which can pla...

متن کامل

A Program Slicing Approach for Locating Functional Concerns

A functional concern – code that helps fulfill a functional requirement – is typically implemented by collaborative software modules. When a developer modifies or reuses the implementation of a functional concern, he must find the modules contributing to the concern and understand how the units collaborate with one another. In this paper, we describe an approach for locating the code contributi...

متن کامل

Application of Interval-valued Fuzzy Analytic Hierarchy Process Approach in Selection Cargo Terminals, a Case Study

Cargo terminals are the gateways for entrance of commodities into the transportation network. Therefore, locating them in optimal location could have a major impact on the cost effectiveness and efficiency of transport, traffic safety and reduction in environmental pollutions. Due to the presence of a large number of parameters involved and the existing uncertainties, decision making in this fi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997